home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-04
/
smalltlk.zip
/
TESTS
/
CHECK.ST
< prev
next >
Wrap
Text File
|
1987-06-17
|
256b
|
16 lines
Class CheckBook
| balance |
[
new
balance <- 0
|
+ amount
balance <- balance + amount.
^ balance
|
- amount
balance <- balance - amount.
^ balance
]